package com.service;

import com.entity.Smbms_bill;
import com.entity.Smbms_provider;
import com.entity.Smbms_role;
import com.entity.Smbms_user;

import java.util.List;
import java.util.Map;

public interface ISmbms_UserService {

    //订单表操作
    //查询订单数据
    List<Smbms_bill> selectAll(Map<String,String> mp);
    //添加
    int insert(Smbms_bill sb);
    //查询单个
    Smbms_bill selectByPrimaryKey(Long id);
    //修改
    int updateByPrimaryKeySelective(Smbms_bill sb);

    //供应商表操作
    //查询供应商
    List<Smbms_provider> selectAllprovider(Map<String,String> mp);
    //删除
    int deleteByPrimaryKeySP(Long id);
    //查询单个
   Smbms_provider selectByPrimaryKeySP(Long id);
    //修改
    int updateByPrimaryKeySelectiveSP(Smbms_provider sp);
    //添加
    int insertSelectiveSP(Smbms_provider sp);
    //删除
    int deleteByPrimaryKey(Long id);

    //用户表操作
    //登录
    Smbms_user selectL(Map<String,String> su);
    //查询
    List<Smbms_user> selectAllSR(Map<String,String> mp);
    //查询单条
    Smbms_user selectByPrimaryKeySR(Long id);
    //删除数据
    int deleteByPrimaryKeySR(Long id);
    //修改数据
    int updateByPrimaryKeySelectiveSR(Smbms_user su);
    //添加一条数据
    int insertSelectiveSR(Smbms_user su);

    //职位表操作
    List<Smbms_role> selectAll();
}
